package com.adinnet.api.peaseRecord.mapper;

import com.adinnet.api.peaseRecord.model.PeaseRecord;
import com.adinnet.api.peaseRecord.model.VO.PeaseRecordForm;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 豌豆记录表 Mapper 接口
 * </p>
 *
 * @author chenjia
 * @since 2020-12-02
 */
public interface PeaseRecordMapper extends BaseMapper<PeaseRecord> {

    List<PeaseRecord> getIsSHare(@Param("childId") Integer childId);

    List<PeaseRecord> getPeaseRecordDetails(Page<PeaseRecord> peaseRecordPage, @Param("form")PeaseRecordForm form);
}
